package com.downrice.dao;

import com.downrice.model.User;
import com.downrice.model.Role;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by lxiafan on 2017/1/10.
 */
public interface UserRepository extends JpaRepository<User, Long> {
    User findByUsername(String username);
}
